<%@ page import="registerallocator.Semestre" %>



<div class="fieldcontain ${hasErrors(bean: semestreInstance, field: 'cursos', 'error')} ">
	<label for="cursos">
		<g:message code="semestre.cursos.label" default="Cursos" />
		
	</label>
	<g:select name="cursos" from="${registerallocator.Curso.list()}" multiple="multiple" optionKey="id" size="5" value="${semestreInstance?.cursos*.id}" class="many-to-many"/>
</div>

<div class="fieldcontain ${hasErrors(bean: semestreInstance, field: 'grade', 'error')} required">
	<label for="grade">
		<g:message code="semestre.grade.label" default="Grade" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="grade" name="grade.id" from="${registerallocator.Grade.list()}" optionKey="id" required="" value="${semestreInstance?.grade?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: semestreInstance, field: 'numero', 'error')} required">
	<label for="numero">
		<g:message code="semestre.numero.label" default="Numero" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="numero" required="" value="${fieldValue(bean: semestreInstance, field: 'numero')}"/>
</div>

